<template>
    <div class="grid">
        <Grid :columns="columns" :sourceData="sourceData"></Grid>
    </div>
</template>

<script>
export default {
    data(){
        return {
            columns:['name','age','size'],
            sourceData:[
                {name:'蛮王',age:15,size:30},
                {name:'剑圣',age:18,size:20},
                {name:'寒冰',age:16,size:35},
                {name:'赵信',age:20,size:22},
            ]
        }
    }
}
</script>